
<template>
  <div style="height:600px;line-height:600px;">
    <el-row :gutter="10">
      <el-col :span="6">
        <label style="height:40px;line-height:40px;">证书编号：</label>
      </el-col>
      <el-col :span="14">
        <el-input placeholder="请输入证书编号" v-model="certNo"></el-input>
      </el-col>
      <el-col :span="4">
        <el-button type="primary" plain @click="goto()">查询</el-button>
      </el-col>
    </el-row>
  </div>
</template>
<script>
export default {
  name: 'Search',
  data () {
    return {
      certNo: ''
    }
  },
  methods: {
    goto () {
      this.$router.push({ name: 'CertificateInfo', params: { certNo: this.certNo } })
    }
  }
}
</script>
<style scoped>
.el-row {
  width: 420px;
  display: inline-block;
}
</style>
